{"ast":null,"code":"var __rest = this && this.__rest || function (s, e) {\n  var t = {};\n  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\nimport classNames from 'classnames';\nimport RcTooltip from 'rc-tooltip';\nimport useMergedState from \"rc-util/es/hooks/useMergedState\";\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport { getTransitionName } from '../_util/motion';\nimport getPlacements from '../_util/placements';\nimport { cloneElement, isValidElement, isFragment } from '../_util/reactNode';\nimport warning from '../_util/warning';\nimport PurePanel from './PurePanel';\nimport useStyle from './style';\nimport { parseColor } from './util';\nconst splitObject = (obj, keys) => {\n  const picked = {};\n  const omitted = Object.assign({}, obj);\n  keys.forEach(key => {\n    if (obj && key in obj) {\n      picked[key] = obj[key];\n      delete omitted[key];\n    }\n  });\n  return {\n    picked,\n    omitted\n  };\n};\n// Fix Tooltip won't hide at disabled button\n// mouse events don't trigger at disabled button in Chrome\n// https://github.com/react-component/tooltip/issues/18\nfunction getDisabledCompatibleChildren(element, prefixCls) {\n  const elementType = element.type;\n  if ((elementType.__ANT_BUTTON === true || element.type === 'button') && element.props.disabled || elementType.__ANT_SWITCH === true && (element.props.disabled || element.props.loading) || elementType.__ANT_RADIO === true && element.props.disabled) {\n    // Pick some layout related style properties up to span\n    // Prevent layout bugs like https://github.com/ant-design/ant-design/issues/5254\n    const {\n      picked,\n      omitted\n    } = splitObject(element.props.style, ['position', 'left', 'right', 'top', 'bottom', 'float', 'display', 'zIndex']);\n    const spanStyle = Object.assign(Object.assign({\n      display: 'inline-block'\n    }, picked), {\n      cursor: 'not-allowed',\n      width: element.props.block ? '100%' : undefined\n    });\n    const buttonStyle = Object.assign(Object.assign({}, omitted), {\n      pointerEvents: 'none'\n    });\n    const child = cloneElement(element, {\n      style: buttonStyle,\n      className: null\n    });\n    return /*#__PURE__*/React.createElement(\"span\", {\n      style: spanStyle,\n      className: classNames(element.props.className, `${prefixCls}-disabled-compatible-wrapper`)\n    }, child);\n  }\n  return element;\n}\nconst Tooltip = /*#__PURE__*/React.forwardRef((props, ref) => {\n  var _a, _b;\n  const {\n    prefixCls: customizePrefixCls,\n    openClassName,\n    getTooltipContainer,\n    overlayClassName,\n    color,\n    overlayInnerStyle,\n    children,\n    afterOpenChange,\n    afterVisibleChange\n  } = props;\n  const {\n    getPopupContainer: getContextPopupContainer,\n    getPrefixCls,\n    direction\n  } = React.useContext(ConfigContext);\n  if (process.env.NODE_ENV !== 'production') {\n    [['visible', 'open'], ['defaultVisible', 'defaultOpen'], ['onVisibleChange', 'onOpenChange'], ['afterVisibleChange', 'afterOpenChange']].forEach(_ref => {\n      let [deprecatedName, newName] = _ref;\n      process.env.NODE_ENV !== \"production\" ? warning(!(deprecatedName in props), 'Tooltip', `\\`${deprecatedName}\\` is deprecated, please use \\`${newName}\\` instead.`) : void 0;\n    });\n  }\n  const [open, setOpen] = useMergedState(false, {\n    value: (_a = props.open) !== null && _a !== void 0 ? _a : props.visible,\n    defaultValue: (_b = props.defaultOpen) !== null && _b !== void 0 ? _b : props.defaultVisible\n  });\n  const isNoTitle = () => {\n    const {\n      title,\n      overlay\n    } = props;\n    return !title && !overlay && title !== 0; // overlay for old version compatibility\n  };\n\n  const onOpenChange = vis => {\n    var _a, _b;\n    setOpen(isNoTitle() ? false : vis);\n    if (!isNoTitle()) {\n      (_a = props.onOpenChange) === null || _a === void 0 ? void 0 : _a.call(props, vis);\n      (_b = props.onVisibleChange) === null || _b === void 0 ? void 0 : _b.call(props, vis);\n    }\n  };\n  const getTooltipPlacements = () => {\n    const {\n      builtinPlacements,\n      arrowPointAtCenter = false,\n      autoAdjustOverflow = true\n    } = props;\n    return builtinPlacements || getPlacements({\n      arrowPointAtCenter,\n      autoAdjustOverflow\n    });\n  };\n  // 动态设置动画点\n  const onPopupAlign = (domNode, align) => {\n    const placements = getTooltipPlacements();\n    // 当前返回的位置\n    const placement = Object.keys(placements).find(key => {\n      var _a, _b;\n      return placements[key].points[0] === ((_a = align.points) === null || _a === void 0 ? void 0 : _a[0]) && placements[key].points[1] === ((_b = align.points) === null || _b === void 0 ? void 0 : _b[1]);\n    });\n    if (!placement) {\n      return;\n    }\n    // 根据当前坐标设置动画点\n    const rect = domNode.getBoundingClientRect();\n    const transformOrigin = {\n      top: '50%',\n      left: '50%'\n    };\n    if (/top|Bottom/.test(placement)) {\n      transformOrigin.top = `${rect.height - align.offset[1]}px`;\n    } else if (/Top|bottom/.test(placement)) {\n      transformOrigin.top = `${-align.offset[1]}px`;\n    }\n    if (/left|Right/.test(placement)) {\n      transformOrigin.left = `${rect.width - align.offset[0]}px`;\n    } else if (/right|Left/.test(placement)) {\n      transformOrigin.left = `${-align.offset[0]}px`;\n    }\n    domNode.style.transformOrigin = `${transformOrigin.left} ${transformOrigin.top}`;\n  };\n  const getOverlay = () => {\n    const {\n      title,\n      overlay\n    } = props;\n    if (title === 0) {\n      return title;\n    }\n    return overlay || title || '';\n  };\n  const {\n      getPopupContainer,\n      placement = 'top',\n      mouseEnterDelay = 0.1,\n      mouseLeaveDelay = 0.1,\n      overlayStyle\n    } = props,\n    otherProps = __rest(props, [\"getPopupContainer\", \"placement\", \"mouseEnterDelay\", \"mouseLeaveDelay\", \"overlayStyle\"]);\n  const prefixCls = getPrefixCls('tooltip', customizePrefixCls);\n  const rootPrefixCls = getPrefixCls();\n  const injectFromPopover = props['data-popover-inject'];\n  let tempOpen = open;\n  // Hide tooltip when there is no title\n  if (!('open' in props) && !('visible' in props) && isNoTitle()) {\n    tempOpen = false;\n  }\n  const child = getDisabledCompatibleChildren(isValidElement(children) && !isFragment(children) ? children : /*#__PURE__*/React.createElement(\"span\", null, children), prefixCls);\n  const childProps = child.props;\n  const childCls = !childProps.className || typeof childProps.className === 'string' ? classNames(childProps.className, {\n    [openClassName || `${prefixCls}-open`]: true\n  }) : childProps.className;\n  // Style\n  const [wrapSSR, hashId] = useStyle(prefixCls, !injectFromPopover);\n  // Color\n  const colorInfo = parseColor(prefixCls, color);\n  const formattedOverlayInnerStyle = Object.assign(Object.assign({}, overlayInnerStyle), colorInfo.overlayStyle);\n  const arrowContentStyle = colorInfo.arrowStyle;\n  const customOverlayClassName = classNames(overlayClassName, {\n    [`${prefixCls}-rtl`]: direction === 'rtl'\n  }, colorInfo.className, hashId);\n  return wrapSSR( /*#__PURE__*/React.createElement(RcTooltip, Object.assign({}, otherProps, {\n    placement: placement,\n    mouseEnterDelay: mouseEnterDelay,\n    mouseLeaveDelay: mouseLeaveDelay,\n    prefixCls: prefixCls,\n    overlayClassName: customOverlayClassName,\n    overlayStyle: Object.assign(Object.assign({}, arrowContentStyle), overlayStyle),\n    getTooltipContainer: getPopupContainer || getTooltipContainer || getContextPopupContainer,\n    ref: ref,\n    builtinPlacements: getTooltipPlacements(),\n    overlay: getOverlay(),\n    visible: tempOpen,\n    onVisibleChange: onOpenChange,\n    afterVisibleChange: afterOpenChange !== null && afterOpenChange !== void 0 ? afterOpenChange : afterVisibleChange,\n    onPopupAlign: onPopupAlign,\n    overlayInnerStyle: formattedOverlayInnerStyle,\n    arrowContent: /*#__PURE__*/React.createElement(\"span\", {\n      className: `${prefixCls}-arrow-content`\n    }),\n    motion: {\n      motionName: getTransitionName(rootPrefixCls, 'zoom-big-fast', props.transitionName),\n      motionDeadline: 1000\n    }\n  }), tempOpen ? cloneElement(child, {\n    className: childCls\n  }) : child));\n});\nif (process.env.NODE_ENV !== 'production') {\n  Tooltip.displayName = 'Tooltip';\n}\nTooltip._InternalPanelDoNotUseOrYouWillBeFired = PurePanel;\nexport default Tooltip;","map":{"version":3,"names":["__rest","s","e","t","p","Object","prototype","hasOwnProperty","call","indexOf","getOwnPropertySymbols","i","length","propertyIsEnumerable","classNames","RcTooltip","useMergedState","React","ConfigContext","getTransitionName","getPlacements","cloneElement","isValidElement","isFragment","warning","PurePanel","useStyle","parseColor","splitObject","obj","keys","picked","omitted","assign","forEach","key","getDisabledCompatibleChildren","element","prefixCls","elementType","type","__ANT_BUTTON","props","disabled","__ANT_SWITCH","loading","__ANT_RADIO","style","spanStyle","display","cursor","width","block","undefined","buttonStyle","pointerEvents","child","className","createElement","Tooltip","forwardRef","ref","_a","_b","customizePrefixCls","openClassName","getTooltipContainer","overlayClassName","color","overlayInnerStyle","children","afterOpenChange","afterVisibleChange","getPopupContainer","getContextPopupContainer","getPrefixCls","direction","useContext","process","env","NODE_ENV","_ref","deprecatedName","newName","open","setOpen","value","visible","defaultValue","defaultOpen","defaultVisible","isNoTitle","title","overlay","onOpenChange","vis","onVisibleChange","getTooltipPlacements","builtinPlacements","arrowPointAtCenter","autoAdjustOverflow","onPopupAlign","domNode","align","placements","placement","find","points","rect","getBoundingClientRect","transformOrigin","top","left","test","height","offset","getOverlay","mouseEnterDelay","mouseLeaveDelay","overlayStyle","otherProps","rootPrefixCls","injectFromPopover","tempOpen","childProps","childCls","wrapSSR","hashId","colorInfo","formattedOverlayInnerStyle","arrowContentStyle","arrowStyle","customOverlayClassName","arrowContent","motion","motionName","transitionName","motionDeadline","displayName","_InternalPanelDoNotUseOrYouWillBeFired"],"sources":["/data/messenger.client/node_modules/antd/es/tooltip/index.js"],"sourcesContent":["var __rest = this && this.__rest || function (s, e) {\n  var t = {};\n  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\nimport classNames from 'classnames';\nimport RcTooltip from 'rc-tooltip';\nimport useMergedState from \"rc-util/es/hooks/useMergedState\";\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport { getTransitionName } from '../_util/motion';\nimport getPlacements from '../_util/placements';\nimport { cloneElement, isValidElement, isFragment } from '../_util/reactNode';\nimport warning from '../_util/warning';\nimport PurePanel from './PurePanel';\nimport useStyle from './style';\nimport { parseColor } from './util';\nconst splitObject = (obj, keys) => {\n  const picked = {};\n  const omitted = Object.assign({}, obj);\n  keys.forEach(key => {\n    if (obj && key in obj) {\n      picked[key] = obj[key];\n      delete omitted[key];\n    }\n  });\n  return {\n    picked,\n    omitted\n  };\n};\n// Fix Tooltip won't hide at disabled button\n// mouse events don't trigger at disabled button in Chrome\n// https://github.com/react-component/tooltip/issues/18\nfunction getDisabledCompatibleChildren(element, prefixCls) {\n  const elementType = element.type;\n  if ((elementType.__ANT_BUTTON === true || element.type === 'button') && element.props.disabled || elementType.__ANT_SWITCH === true && (element.props.disabled || element.props.loading) || elementType.__ANT_RADIO === true && element.props.disabled) {\n    // Pick some layout related style properties up to span\n    // Prevent layout bugs like https://github.com/ant-design/ant-design/issues/5254\n    const {\n      picked,\n      omitted\n    } = splitObject(element.props.style, ['position', 'left', 'right', 'top', 'bottom', 'float', 'display', 'zIndex']);\n    const spanStyle = Object.assign(Object.assign({\n      display: 'inline-block'\n    }, picked), {\n      cursor: 'not-allowed',\n      width: element.props.block ? '100%' : undefined\n    });\n    const buttonStyle = Object.assign(Object.assign({}, omitted), {\n      pointerEvents: 'none'\n    });\n    const child = cloneElement(element, {\n      style: buttonStyle,\n      className: null\n    });\n    return /*#__PURE__*/React.createElement(\"span\", {\n      style: spanStyle,\n      className: classNames(element.props.className, `${prefixCls}-disabled-compatible-wrapper`)\n    }, child);\n  }\n  return element;\n}\nconst Tooltip = /*#__PURE__*/React.forwardRef((props, ref) => {\n  var _a, _b;\n  const {\n    prefixCls: customizePrefixCls,\n    openClassName,\n    getTooltipContainer,\n    overlayClassName,\n    color,\n    overlayInnerStyle,\n    children,\n    afterOpenChange,\n    afterVisibleChange\n  } = props;\n  const {\n    getPopupContainer: getContextPopupContainer,\n    getPrefixCls,\n    direction\n  } = React.useContext(ConfigContext);\n  if (process.env.NODE_ENV !== 'production') {\n    [['visible', 'open'], ['defaultVisible', 'defaultOpen'], ['onVisibleChange', 'onOpenChange'], ['afterVisibleChange', 'afterOpenChange']].forEach(_ref => {\n      let [deprecatedName, newName] = _ref;\n      process.env.NODE_ENV !== \"production\" ? warning(!(deprecatedName in props), 'Tooltip', `\\`${deprecatedName}\\` is deprecated, please use \\`${newName}\\` instead.`) : void 0;\n    });\n  }\n  const [open, setOpen] = useMergedState(false, {\n    value: (_a = props.open) !== null && _a !== void 0 ? _a : props.visible,\n    defaultValue: (_b = props.defaultOpen) !== null && _b !== void 0 ? _b : props.defaultVisible\n  });\n  const isNoTitle = () => {\n    const {\n      title,\n      overlay\n    } = props;\n    return !title && !overlay && title !== 0; // overlay for old version compatibility\n  };\n\n  const onOpenChange = vis => {\n    var _a, _b;\n    setOpen(isNoTitle() ? false : vis);\n    if (!isNoTitle()) {\n      (_a = props.onOpenChange) === null || _a === void 0 ? void 0 : _a.call(props, vis);\n      (_b = props.onVisibleChange) === null || _b === void 0 ? void 0 : _b.call(props, vis);\n    }\n  };\n  const getTooltipPlacements = () => {\n    const {\n      builtinPlacements,\n      arrowPointAtCenter = false,\n      autoAdjustOverflow = true\n    } = props;\n    return builtinPlacements || getPlacements({\n      arrowPointAtCenter,\n      autoAdjustOverflow\n    });\n  };\n  // 动态设置动画点\n  const onPopupAlign = (domNode, align) => {\n    const placements = getTooltipPlacements();\n    // 当前返回的位置\n    const placement = Object.keys(placements).find(key => {\n      var _a, _b;\n      return placements[key].points[0] === ((_a = align.points) === null || _a === void 0 ? void 0 : _a[0]) && placements[key].points[1] === ((_b = align.points) === null || _b === void 0 ? void 0 : _b[1]);\n    });\n    if (!placement) {\n      return;\n    }\n    // 根据当前坐标设置动画点\n    const rect = domNode.getBoundingClientRect();\n    const transformOrigin = {\n      top: '50%',\n      left: '50%'\n    };\n    if (/top|Bottom/.test(placement)) {\n      transformOrigin.top = `${rect.height - align.offset[1]}px`;\n    } else if (/Top|bottom/.test(placement)) {\n      transformOrigin.top = `${-align.offset[1]}px`;\n    }\n    if (/left|Right/.test(placement)) {\n      transformOrigin.left = `${rect.width - align.offset[0]}px`;\n    } else if (/right|Left/.test(placement)) {\n      transformOrigin.left = `${-align.offset[0]}px`;\n    }\n    domNode.style.transformOrigin = `${transformOrigin.left} ${transformOrigin.top}`;\n  };\n  const getOverlay = () => {\n    const {\n      title,\n      overlay\n    } = props;\n    if (title === 0) {\n      return title;\n    }\n    return overlay || title || '';\n  };\n  const {\n      getPopupContainer,\n      placement = 'top',\n      mouseEnterDelay = 0.1,\n      mouseLeaveDelay = 0.1,\n      overlayStyle\n    } = props,\n    otherProps = __rest(props, [\"getPopupContainer\", \"placement\", \"mouseEnterDelay\", \"mouseLeaveDelay\", \"overlayStyle\"]);\n  const prefixCls = getPrefixCls('tooltip', customizePrefixCls);\n  const rootPrefixCls = getPrefixCls();\n  const injectFromPopover = props['data-popover-inject'];\n  let tempOpen = open;\n  // Hide tooltip when there is no title\n  if (!('open' in props) && !('visible' in props) && isNoTitle()) {\n    tempOpen = false;\n  }\n  const child = getDisabledCompatibleChildren(isValidElement(children) && !isFragment(children) ? children : /*#__PURE__*/React.createElement(\"span\", null, children), prefixCls);\n  const childProps = child.props;\n  const childCls = !childProps.className || typeof childProps.className === 'string' ? classNames(childProps.className, {\n    [openClassName || `${prefixCls}-open`]: true\n  }) : childProps.className;\n  // Style\n  const [wrapSSR, hashId] = useStyle(prefixCls, !injectFromPopover);\n  // Color\n  const colorInfo = parseColor(prefixCls, color);\n  const formattedOverlayInnerStyle = Object.assign(Object.assign({}, overlayInnerStyle), colorInfo.overlayStyle);\n  const arrowContentStyle = colorInfo.arrowStyle;\n  const customOverlayClassName = classNames(overlayClassName, {\n    [`${prefixCls}-rtl`]: direction === 'rtl'\n  }, colorInfo.className, hashId);\n  return wrapSSR( /*#__PURE__*/React.createElement(RcTooltip, Object.assign({}, otherProps, {\n    placement: placement,\n    mouseEnterDelay: mouseEnterDelay,\n    mouseLeaveDelay: mouseLeaveDelay,\n    prefixCls: prefixCls,\n    overlayClassName: customOverlayClassName,\n    overlayStyle: Object.assign(Object.assign({}, arrowContentStyle), overlayStyle),\n    getTooltipContainer: getPopupContainer || getTooltipContainer || getContextPopupContainer,\n    ref: ref,\n    builtinPlacements: getTooltipPlacements(),\n    overlay: getOverlay(),\n    visible: tempOpen,\n    onVisibleChange: onOpenChange,\n    afterVisibleChange: afterOpenChange !== null && afterOpenChange !== void 0 ? afterOpenChange : afterVisibleChange,\n    onPopupAlign: onPopupAlign,\n    overlayInnerStyle: formattedOverlayInnerStyle,\n    arrowContent: /*#__PURE__*/React.createElement(\"span\", {\n      className: `${prefixCls}-arrow-content`\n    }),\n    motion: {\n      motionName: getTransitionName(rootPrefixCls, 'zoom-big-fast', props.transitionName),\n      motionDeadline: 1000\n    }\n  }), tempOpen ? cloneElement(child, {\n    className: childCls\n  }) : child));\n});\nif (process.env.NODE_ENV !== 'production') {\n  Tooltip.displayName = 'Tooltip';\n}\nTooltip._InternalPanelDoNotUseOrYouWillBeFired = PurePanel;\nexport default Tooltip;"],"mappings":"AAAA,IAAIA,MAAM,GAAG,IAAI,IAAI,IAAI,CAACA,MAAM,IAAI,UAAUC,CAAC,EAAEC,CAAC,EAAE;EAClD,IAAIC,CAAC,GAAG,CAAC,CAAC;EACV,KAAK,IAAIC,CAAC,IAAIH,CAAC,EAAE,IAAII,MAAM,CAACC,SAAS,CAACC,cAAc,CAACC,IAAI,CAACP,CAAC,EAAEG,CAAC,CAAC,IAAIF,CAAC,CAACO,OAAO,CAACL,CAAC,CAAC,GAAG,CAAC,EAAED,CAAC,CAACC,CAAC,CAAC,GAAGH,CAAC,CAACG,CAAC,CAAC;EAChG,IAAIH,CAAC,IAAI,IAAI,IAAI,OAAOI,MAAM,CAACK,qBAAqB,KAAK,UAAU,EAAE,KAAK,IAAIC,C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